#ifndef _TIMER_H_INCLUDED_
#define _TIMER_H_INCLUDED_

#include "defines.h"

void delay_us(uint16 usec);
void delay_ms(uint16 msec);
void delay_s(uint16 sec);

int is_timeout(void);
void timeout_init(uint16 sec);
void timeout_start(void);
void timeout_stop(void);
void timeout_end(void);

#endif
